package com.gxa.shop.dao.brand;

import com.gxa.shop.bean.dto.BrandQueryPage;
import com.gxa.shop.bean.pojo.Brand;
import com.gxa.shop.bean.pojo.Category;
import com.gxa.shop.bean.vo.BrandOption;

import java.util.List;

/**
 * com.gxa.shop.bean.dao.impl
 * User: zjy
 * Date: 2024/12/18 9:52
 * motto:   逆水行舟不进则退
 * Description:
 * Version: V1.0
 */
public interface BrandDao {
    Category queryById(Integer brandId);
    int insert(Brand brand);

    int update(Brand brand);
    int deleteById(Integer brandId);

   String getBrandImageByBrandId(String brandId);

   void updateBrandImage(String brandId,String imagePath);

    Long findByTotal(BrandQueryPage brandQueryPage);

    List<Brand> findByPage(BrandQueryPage brandQueryPage);

    List<BrandOption> findAllList();
}
